package com.huluobo.jetpackkotlindemo.livedata_viewmodel

import androidx.lifecycle.ViewModel

/**
 * Created by lc on 2022/12/2.
 */
class ShareDataViewModel : ViewModel() {
    private var currentPosition: Int = 0

    fun getCurrentPosition(): Int {
        return currentPosition
    }

    fun setCurrentPosition(currentPosition: Int) {
        this.currentPosition = currentPosition
    }
}